$function dab:system/bow_arrow/sculk_bow/sonic_boom_compute_damage {victim:$(victim),attacker:$(attacker)}
$kill @n[tag=sculk_arrow.sonic_boom.DM,nbt={data:{attacker:$(attacker),victim:$(victim)}}]
scoreboard players reset @s SculkArrowSonicBoomTimer

playsound minecraft:entity.warden.sonic_boom master @a ~ ~ ~ 1 1
playsound minecraft:entity.warden.sonic_boom master @a ~ ~ ~ 1 1

#loop
$execute if entity @n[tag=sculk_arrow.sonic_boom.DM,nbt={data:{attacker:$(attacker)}}] run scoreboard players add @s SculkArrowSonicBoomTimer 8